Skip to content

Logcat All the Things - #6432

Merged
jonpryor merged 1 commit into
dotnet:mainfrom
dellis1972:logcatall
Oct 28, 2021
Merged

jonpryor merged 1 commit into
dotnet:mainfrom
dellis1972:logcatall

Conversation

@dellis1972

@dellis1972 dellis1972 commented Oct 26, 2021 •

Copy link
Copy Markdown
Contributor

Lets make use of the emulator -logcat-output argument to log ALL output from adb to a file while the emulator is running.
The resulting file logcat-$(Configuration)-full.log will be included in the test xa-build-status* zip archives which are saved at the end of a test run.

Also fix a bug in the RestartDevice method where if it ran using dotnet we could get the following error

 RunProcess: /Users/runner/Library/Android/dotnet/dotnet /Users/runner/work/1/s/bin/TestRelease/Emulator.csproj /restore /t:AcquireAndroidTarget
 (1, , Could not execute because the specified command or file was not found.

This was because we were missing the build command.

@dellis1972
dellis1972 marked this pull request as ready for review October 28, 2021 09:03
@jonpryor
jonpryor merged commit 23afb3a into dotnet:main Oct 28, 2021
@dellis1972
dellis1972 deleted the logcatall branch October 28, 2021 14:42
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants